package com.gitee.helioz.openai.api.endpoint.moderations;

import com.gitee.helioz.openai.api.dto.moderations.ModerationCreateRequest;
import com.gitee.helioz.openai.api.dto.moderations.ModerationCreateResponse;

/**
 * 〈内容过滤服务〉
 *
 * @author <a href="https://gitee.com/helioz">Morning Starr</a>
 */
public interface ModerationService {

    /**
     * 创建内容过滤（Moderation）任务
     * <p><a href="https://platform.openai.com/docs/api-reference/moderations/create">文档</a></p>
     *
     * @param createRequest 请求对象
     * @return 响应对象
     */
    ModerationCreateResponse create(ModerationCreateRequest createRequest);
}
